<!--
* @description 填报页面中间件页面主要用于填报子模块分发
* @fileName card.vue
* @author zero_fsc
* @date 2020/05/13 17:37:01
!-->
<template>
  <div class="yl-container">
    <div
      class="yl-card-list"
      v-for="(item, index) in writePage"
      :key="index"
    >
      <YlCard
        :cardConfig="item"
        :isFormList="item.isFormList"
        v-on="$listeners"
      />
      </div>
  </div>
</template>

<script>
export default {
  props: {
    writePage: {
      type: Array,
      default: () => []
    }
  }
}

</script>

<style lang="scss" scoped>
  .yl-card-list {
    margin-bottom: 20px;
  }
</style>
